package cn.bdqn.service.impl;

import cn.bdqn.domain.Floor;
import cn.bdqn.mapper.FloorMapper;
import cn.bdqn.service.FloorService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class FloorServiceImpl implements FloorService {

    @Resource
    private FloorMapper floorMapper;

    @Override
    public List<Floor> queryAll() {
        return floorMapper.selectAll();
    }
}
